<div class="row-fluid">
    <div class="span12">
        <div class="box paint color_3">
            <div class="title">
                <div class="row-fluid">
                    <h4> <?php echo __('Team'); ?>     </h4>
                </div>
            </div>
            <!-- End .title -->
            <div class="content">
                <ul id="tabExample1" class="nav nav-tabs">
                    <li class="active"><a href="#home1" data-toggle="tab">Nome</a></li>
                    <li><a href="#profile1" data-toggle="tab"><?php echo "Informações da carga horária" ?></a></li>
                    <li><a href="#profile3" data-toggle="tab"><?php echo "Informações da oferta" ?></a></li>
                    <li><a href="#profile2" data-toggle="tab"><?php echo "Informações do sistema"?></a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane fade in active" id="home1">
                        <div class="row-fluid">
                            <div class="span2">
                                <p><strong><?php echo __('Id'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['id']); ?></p>
                            </div>
                            <div class="span10">
                                <p><strong><?php echo __('Name'); ?></strong></p>
                                <p><?php echo h($discipline['Team']['name']); ?></p>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane fade" id="profile1">
                        <div class="row-fluid">
                            <div class="span2">
                                <p><strong><?php echo __('Theoretical Workload'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['theoretical_workload']); ?></p>
                            </div>
                            <div class="span2">
                                <p><strong><?php echo __('Practice Workload'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['practice_workload']); ?></p>
                            </div>
                            <div class="span2">
                                <p><strong><?php echo __('Total Workload'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['total_workload']); ?></p>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane fade" id="profile3">
                        <div class="row-fluid">
                            <div class="span2">
                                <p><strong><?php echo __('Semester'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['semester']); ?></p>
                            </div>
                            <div class="span3">
                                <?php $courses = array(); ?>
                                <?php foreach ($discipline['Courses'] as $course) : 
                                    $courses[] = $course['acronym'];
                                endforeach; ?>
                                <p><strong><?php echo __('Course'); ?></strong></p>
                                <p><?php echo implode(' + ', $courses) ?></p>
                            </div>
                            <div class="span4">
                                <p><strong><?php echo __('Team'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['team']); ?></p>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane fade" id="profile2">
                        <div class="row-fluid">
                            <div class="span2">
                                <p><strong><?php echo __('User'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['_user']); ?></p>
                            </div>
                            <div class="span3">
                                <p><strong><?php echo __('Created'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['created']); ?></p>
                            </div>
                            <div class="span4">
                                <p><strong><?php echo __('Modified'); ?></strong></p>
                                <p><?php echo h($discipline['Discipline']['modified']); ?></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- End .content --> 
        </div>
    </div>
</div>